﻿using System;
using System.Net;
namespace InterPC.SPF {
    public interface IDNSProxy {
        System.Net.IPAddress[] GetA(string domain);
        System.Net.IPAddress[] GetAAAA(string domain);
        MXRecord[] GetMX(string domain);
        string[] GetPTR(IPAddress ip);
        string[] GetSPF(string domain);
        string[] GetTXT(string domain);
        object Lookup(string domain, ushort recordType);

    }
    
    public struct MXRecord {
            public ushort Preference { get; set; }
            public string Exchange { get; set; }
    }
}
